package com.qf.first.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "`user`")
public class User {
    @TableId(value = "user_id", type = IdType.INPUT)
    private Long userId;

    @TableField(value = "username")
    private String username;

    @TableField(value = "`password`")
    private String password;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "creat_date")
    private Date creatDate;

    @TableField(value = "update_date")
    private Date updateDate;

    @TableField(value = "`status`")
    private Boolean status;

    public static final String COL_USER_ID = "user_id";

    public static final String COL_USERNAME = "username";

    public static final String COL_PASSWORD = "password";

    public static final String COL_PHONE = "phone";

    public static final String COL_CREAT_DATE = "creat_date";

    public static final String COL_UPDATE_DATE = "update_date";

    public static final String COL_STATUS = "status";
}